{% extends 'base.html' %}

{% block content %}
    <p>书名:{{ books.1 }}</p>
    <p>作者:{{ books.2 }}</p>
    <form action="{% url 'delete_book' %}" method="post">
        {% csrf_token %}
        <input type="hidden" name="book_id" value="{{ books.0 }}">
        <input type="submit" value="删除">
    </form>
{% endblock %}